package cn.lyjuan.payment.third.base.pay.chl.impl.iap.bean;

import cn.lyjuan.payment.third.base.pay.chl.impl.iap.enums.IosDevelopEnum;
import cn.lyjuan.payment.third.base.pay.vo.req.PayReq;

/**
 * @author arvin
 * desc payment-third cn.lyjuan.payment.third.base.pay.chl.impl.iap.bean
 * 2021/3/8 14:10
 */
public class IapPayReq implements PayReq.IPayReq {

    /**
     * 类型 沙箱 生产
     */
    private IosDevelopEnum devType;

    /**
     * 凭据
     */
    private String receipt;

    /**
     * app 订单号
     */
    private String appNo;

    /**
     * appStore GoodsId
     */
    private String iosGoodsId;

    /**
     * 交易id
     */
    private String transactionId;

    public IapPayReq() {
    }

    public IapPayReq(IosDevelopEnum devType) {
        this.devType = devType;
    }

    public IapPayReq(IosDevelopEnum devType, String receipt, String appNo, String transactionId, String iosGoodsId) {
        this.devType = devType;
        this.receipt = receipt;
        this.appNo = appNo;
        this.transactionId = transactionId;
        this.iosGoodsId = iosGoodsId;
    }

    public IosDevelopEnum getDevType() {
        return devType;
    }

    public void setDevType(IosDevelopEnum devType) {
        this.devType = devType;
    }

    public String getReceipt() {
        return receipt;
    }

    public void setReceipt(String receipt) {
        this.receipt = receipt;
    }

    public String getAppNo() {
        return appNo;
    }

    public void setAppNo(String appNo) {
        this.appNo = appNo;
    }

    public String getIosGoodsId() {
        return iosGoodsId;
    }

    public void setIosGoodsId(String iosGoodsId) {
        this.iosGoodsId = iosGoodsId;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }
}
